package main

import (
	"life-share/appconfig"
	"life-share/models"
	"life-share/router"
)

func main() {
	//设置配置文件
	appconfig.App()
	//链接数据库
	models.InitDB()
	r := router.Router()
	r.Run(":8000")
}
